package com.lianzhihui.romeex.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: romeex
 * @Package: com.lianzhihui.romeex.bean
 * @ClassName: MyTeamBean
 * @Description: java类作用描述
 * @Author: zhanghong
 * @CreateDate: 2020/11/24 16:51
 * @UpdateUser: 更新者：
 * @UpdateDate: 2020/11/24 16:51
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class MyTeamBean implements Serializable {


    /**
     * childInfo : {"directCount":0,"directList":[],"teamCount":0}
     * sunTop : {"teamFx":"0","inviteTotalBalance":"0","teamPd":"0"}
     * communityInfo : {"communityLevel":0,"communityChild":[{"communityLevel":0,"count":0},{"communityLevel":1,"count":0},{"communityLevel":2,"count":0},{"communityLevel":3,"count":0},{"communityLevel":4,"count":0}]}
     */

    private ChildInfoBean childInfo;
    private SunTopBean sunTop;
    private String inviteCode;
    private CommunityInfoBean communityInfo;

    public ChildInfoBean getChildInfo() {
        return childInfo;
    }

    public void setChildInfo(ChildInfoBean childInfo) {
        this.childInfo = childInfo;
    }

    public SunTopBean getSunTop() {
        return sunTop;
    }

    public void setSunTop(SunTopBean sunTop) {
        this.sunTop = sunTop;
    }

    public CommunityInfoBean getCommunityInfo() {
        return communityInfo;
    }

    public void setCommunityInfo(CommunityInfoBean communityInfo) {
        this.communityInfo = communityInfo;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public static class ChildInfoBean implements Serializable {
        /**
         * directCount : 0
         * directList : []
         * teamCount : 0
         */

        private int directCount;
        private int teamValidCount;
        private int teamCount;
        private List<DirectList> directList;

        public int getTeamValidCount() {
            return teamValidCount;
        }

        public void setTeamValidCount(int teamValidCount) {
            this.teamValidCount = teamValidCount;
        }

        public int getDirectCount() {
            return directCount;
        }

        public void setDirectCount(int directCount) {
            this.directCount = directCount;
        }

        public int getTeamCount() {
            return teamCount;
        }

        public void setTeamCount(int teamCount) {
            this.teamCount = teamCount;
        }

        public List<DirectList> getDirectList() {
            return directList;
        }

        public void setDirectList(List<DirectList> directList) {
            this.directList = directList;
        }
        public static class DirectList implements Serializable {

            /**
             * id : 5fa8f5d8e35e7519104dc05b
             * nid : 5fa8ead07f8bb50e78ad2a85
             * walletAddress : 16ntyd9C4xoeru15jhugy3G5X8JQt6wbzG
             * pid : 5fa8eb367f8bb50e78ad2a8b
             * parentAddress : 13yNMZ2RSqM2ho7MRAFFMsJdrcjZWWxTQ3
             * deep : 1
             * timestamp : 1604905680277
             * validStatus : 1
             * childValidCount : 0
             */

            private String id;
            private String nid;
            private String walletAddress;
            private String pid;
            private String parentAddress;
            private int deep;
            private long timestamp;
            private int validStatus;
            private int childValidCount;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getNid() {
                return nid;
            }

            public void setNid(String nid) {
                this.nid = nid;
            }

            public String getWalletAddress() {
                return walletAddress;
            }

            public void setWalletAddress(String walletAddress) {
                this.walletAddress = walletAddress;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            public String getParentAddress() {
                return parentAddress;
            }

            public void setParentAddress(String parentAddress) {
                this.parentAddress = parentAddress;
            }

            public int getDeep() {
                return deep;
            }

            public void setDeep(int deep) {
                this.deep = deep;
            }

            public long getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(long timestamp) {
                this.timestamp = timestamp;
            }

            public int getValidStatus() {
                return validStatus;
            }

            public void setValidStatus(int validStatus) {
                this.validStatus = validStatus;
            }

            public int getChildValidCount() {
                return childValidCount;
            }

            public void setChildValidCount(int childValidCount) {
                this.childValidCount = childValidCount;
            }
        }
    }



    public static class SunTopBean implements Serializable {
        /**
         * teamFx : 0
         * inviteTotalBalance : 0
         * teamPd : 0
         */

        private String teamFx;
        private String inviteTotalBalance;
        private String teamPd;
        private int myLevel;

        public int getMyLevel() {
            return myLevel;
        }

        public void setMyLevel(int myLevel) {
            this.myLevel = myLevel;
        }

        public String getTeamFx() {
            return teamFx;
        }

        public void setTeamFx(String teamFx) {
            this.teamFx = teamFx;
        }

        public String getInviteTotalBalance() {
            return inviteTotalBalance;
        }

        public void setInviteTotalBalance(String inviteTotalBalance) {
            this.inviteTotalBalance = inviteTotalBalance;
        }

        public String getTeamPd() {
            return teamPd;
        }

        public void setTeamPd(String teamPd) {
            this.teamPd = teamPd;
        }
    }

    public static class CommunityInfoBean implements Serializable {
        /**
         * communityLevel : 0
         * communityChild : [{"communityLevel":0,"count":0},{"communityLevel":1,"count":0},{"communityLevel":2,"count":0},{"communityLevel":3,"count":0},{"communityLevel":4,"count":0}]
         */

        private int communityLevel;
        private List<CommunityChildBean> communityChild;

        public int getCommunityLevel() {
            return communityLevel;
        }

        public void setCommunityLevel(int communityLevel) {
            this.communityLevel = communityLevel;
        }

        public List<CommunityChildBean> getCommunityChild() {
            return communityChild;
        }

        public void setCommunityChild(List<CommunityChildBean> communityChild) {
            this.communityChild = communityChild;
        }

        public static class CommunityChildBean implements Serializable {
            /**
             * communityLevel : 0
             * count : 0
             */

            private int communityLevel;
            private int count;

            public int getCommunityLevel() {
                return communityLevel;
            }

            public void setCommunityLevel(int communityLevel) {
                this.communityLevel = communityLevel;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }
        }
    }
}
